<template>
  <div id="ruifox-admin">
    <router-view />
  </div>
</template>
<script setup>
import { useStore } from 'vuex'
import { onMounted } from "vue";
import iconfontInit from '@/utils/icon'
import { editTheme } from "@/utils/theme";
import { scrollEvent } from "@/utils/scrollevent";
const store = useStore()
onMounted(() => {
  iconfontInit()
  editTheme(store.state.app.theme_color)
  scrollEvent()
})

console.log(process.env.BASE_URL)
</script>
